package com.forum.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.core.util.Json;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "user")
public class User {
    private Long id;

    private String username;

    private String password;

    private Integer gender; // 0: 男, 1: 女

    private String birthday;

    private String phone;

    private String email;

    private String picture;


    private Integer state; // 0: 禁用, 1: 启用

    private String context;
    private Json title;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;


}